{include file="header"}
<div class="body">
	<div class="nav"><a href="/xcxmb/public/admin/first/index">首页</a> > <a href="/xcxmb/public/admin/product">商品管理</a></div>
	<div class="addbtn">
		<a href="add" class="addbtn">添加商品</a>
	</div>
	<div class="search">
		<form action="" method="get">
		<input type="hidden" name="app" id="app" value="product" />
		<input type="hidden" name="act" id="act" value="index" />
		<span>ID</span><input title="id" type="text" name="id" id="id" value="{$id}" />
		<span>关键词</span><input title="关键词" type="text" name="keyword" id="keyword" value="{$keyword}" />
		<span>状态</span>
			<input type="submit" class="btn" value="搜 索"/>
		<div class="clear"></div>
		</form>
	</div>

	<div class="list">
		<table width="100%" border="0" cellspacing="1" cellpadding="0">
			<tr class="h">
				<th>ID</th>
				<th>名称</th>
				<th>图片</th>
				<th>商品描述</th>
				<th>售价</th>
				<th>商品净含量、净重</th>
				<th>服务</th>
				<th>评分</th>
				<th>查看量</th>
				<th>状态</th>
				<th>操作</th>
			</tr>
			{volist name="list" id="row"}
			<tr bgcolor="white">
				<td>{$row.id}</td>
				<td style="text-align:center;">{$row.title}</td>
				<td align="center">
					<img src="{$row.image}" width="40" style="padding:5px;" /></td>
				<td align="center">{$row.detail}</td>
				<td align="center">{$row.price}</td>
				<td align="center">{$row.parameter}</td>
				<td align="center">{$row.service}</td>
				<td align="center">{$row.score}</td>
				<td align="center">{$row.clicks}</td>
				<td align="center">{if $row.status==0}正常{else}下架{/if}</td>
				<td align="center">
					<a href="edit?id={$row.id}" class="ico2"></a>
					<a class="ico3 delete" href="delete?id={$row.id}"></a>
				</td>
			</tr>
			{/volist}
		</table>

	<div class="clear"></div>
	<div class="mypage" style="text-align:center">
		共 {$maxpages} 个数据 {$page}

	</div>
</div>
</div>
{include file="footer"}